<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <script src="/libs/react.development.js"></script>
    <script src="/libs/react-dom.development.js"></script>
    <script src="/libs/babel.min.js"></script>
    <title>Document</title>
  </head>
  <body>
    <div id="root"></div>
    <script type="text/babel">
      function Demo(props) {
        return <h1>你好{props.name}</h1>;
      }

      ReactDOM.render(<Demo name="React" />, document.getElementById("root"));
    </script>
  </body>
</html>
